package com.zdtech.service;

import java.util.List;

import com.zdtech.entity.TBill;
import com.zdtech.entity.TKind;
import com.zdtech.entity.TMenu;
import com.zdtech.entity.TSingle;
import com.zdtech.entity.TUser;
import com.zdtech.entity.VPurviewnav;
public interface BaseSerive {
	/*******************TKind************************/
	public Integer insertKind(TKind o);
	/************************************************/
	
	
	/*******************TMenu*********************/
	public Integer insertMenu(TMenu o);
	public List<TMenu> showMenuAll();
	public TMenu getMenu(int id);
	public void editMenu(TMenu m);
	public void delMenu(int id);
	/************************************************/
	/*******************TSingle**********************/
	public boolean insertSingle(TSingle s);
	/************************************************/
	
	
	/*******************TBill************************/
	public Integer insertBill(TBill b);
	/************************************************/
	
	/*******************TUser************************/
	public boolean checkUser(String username,String password);
	public boolean insertUser(TUser u);
	public List<TUser> showUserAll();
	public TUser getUser(int id);
	public void editUser(TUser u);
	public void delUser(int id);
	/************************************************/
	/*******************TNav*************************/
	
	/************************************************/
	
	/*******************VPurviewnav******************/
	public List<VPurviewnav> showNav(String pur);
	/************************************************/
}
